#define  _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;

#include"stack.h"

namespace my_stack
{
	void test_stack()
	{
		stack<int> st;
		st.push(1);
		st.push(2);
		st.push(3);
		st.push(4);
		while (!st.empty())
		{
			cout << st.top() << " ";
			st.pop();
		}
	}
}

#include"queue.h"

namespace my_queue
{
	void test_queue()
	{
		queue<int, list<int>> q;
		q.push(1);
		q.push(2);
		q.push(3);
		q.push(4);
		while (!q.empty())
		{
			cout << q.front() << " ";
			q.pop();
		}
	}
}

int main()
{
	//my_stack::test_stack();
	my_queue::test_queue();
	return 0;
}